<template>
    <div>
        {{message}}
    </div>
</template>

<script lang='ts'>
import {defineComponent, ref, reactive, toRefs, computed, inject} from 'vue'
export default defineComponent({
  setup(){
      let message = inject<any>("message")
      console.log(message.value);
    return{ 
        message,
    
    }
  },
});
</script>

<style scoped >

</style>
